[INFO] fetching crate libdvb 0.3.0...
[INFO] building libdvb-0.3.0 against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] extracting crate libdvb 0.3.0 into /workspace/builds/worker-3/source
[INFO] validating manifest of crates.io crate libdvb 0.3.0 on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate libdvb 0.3.0
[INFO] finished tweaking crates.io crate libdvb 0.3.0
[INFO] tweaked toml for crates.io crate libdvb 0.3.0 written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate crates.io crate libdvb 0.3.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2a67e9b7647e9b0ecaa3c1d0ad2be9d3706b6823af63042325b8f8f6f655acee
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "2a67e9b7647e9b0ecaa3c1d0ad2be9d3706b6823af63042325b8f8f6f655acee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2a67e9b7647e9b0ecaa3c1d0ad2be9d3706b6823af63042325b8f8f6f655acee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2a67e9b7647e9b0ecaa3c1d0ad2be9d3706b6823af63042325b8f8f6f655acee", kill_on_drop: false }`
[INFO] [stdout] 2a67e9b7647e9b0ecaa3c1d0ad2be9d3706b6823af63042325b8f8f6f655acee
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8ee962d667fa81d6e8010b9bb0cf4580bb76196b792403da90797df6f08a1384
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "8ee962d667fa81d6e8010b9bb0cf4580bb76196b792403da90797df6f08a1384", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling libc v0.2.79
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling anyhow v1.0.33
[INFO] [stderr]    Compiling nix v0.19.1
[INFO] [stderr]    Compiling libdvb v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `ca`
[INFO] [stdout]   --> src/ca/apdu.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn init(ca: &mut CaDevice, resource_id: u32) -> Result<u16> {
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_ca`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `resource_id`
[INFO] [stdout]   --> src/ca/apdu.rs:20:32
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn init(ca: &mut CaDevice, resource_id: u32) -> Result<u16> {
[INFO] [stdout]    |                                ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resource_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ca`
[INFO] [stdout]   --> src/ca/apdu.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn open(ca: &mut CaDevice, session_id: u16) -> Result<()> {
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_ca`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `session_id`
[INFO] [stdout]   --> src/ca/apdu.rs:26:32
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn open(ca: &mut CaDevice, session_id: u16) -> Result<()> {
[INFO] [stdout]    |                                ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ca`
[INFO] [stdout]   --> src/ca/apdu.rs:32:14
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn close(ca: &mut CaDevice, session_id: u16) -> Result<()> {
[INFO] [stdout]    |              ^^ help: if this is intentional, prefix it with an underscore: `_ca`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `session_id`
[INFO] [stdout]   --> src/ca/apdu.rs:32:33
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn close(ca: &mut CaDevice, session_id: u16) -> Result<()> {
[INFO] [stdout]    |                                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ca`
[INFO] [stdout]   --> src/ca/apdu.rs:38:15
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn handle(ca: &mut CaDevice, session_id: u16, msg: &[u8]) -> Result<()> {
[INFO] [stdout]    |               ^^ help: if this is intentional, prefix it with an underscore: `_ca`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `session_id`
[INFO] [stdout]   --> src/ca/apdu.rs:38:34
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn handle(ca: &mut CaDevice, session_id: u16, msg: &[u8]) -> Result<()> {
[INFO] [stdout]    |                                  ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]   --> src/ca/apdu.rs:38:51
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn handle(ca: &mut CaDevice, session_id: u16, msg: &[u8]) -> Result<()> {
[INFO] [stdout]    |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ca`
[INFO] [stdout]   --> src/ca/apdu.rs:44:15
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn manage(ca: &mut CaDevice, session_id: u16) -> Result<()> {
[INFO] [stdout]    |               ^^ help: if this is intentional, prefix it with an underscore: `_ca`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `session_id`
[INFO] [stdout]   --> src/ca/apdu.rs:44:34
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn manage(ca: &mut CaDevice, session_id: u16) -> Result<()> {
[INFO] [stdout]    |                                  ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `SIZE_INDICATOR`
[INFO] [stdout]  --> src/ca/asn1.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | const SIZE_INDICATOR: u8 = 0x80;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `encode`
[INFO] [stdout]  --> src/ca/asn1.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn encode(value: u16, out: &mut Vec<u8>) {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `TPDU_SIZE_MAX`
[INFO] [stdout]   --> src/ca/tpdu.rs:40:1
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub const TPDU_SIZE_MAX: usize = 2048;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `TT_SB`
[INFO] [stdout]   --> src/ca/tpdu.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 45 |     pub const TT_SB: u8                             = 0x80;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `TT_RCV`
[INFO] [stdout]   --> src/ca/tpdu.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub const TT_RCV: u8                            = 0x81;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `TT_CREATE_TC`
[INFO] [stdout]   --> src/ca/tpdu.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 47 |     pub const TT_CREATE_TC: u8                      = 0x82;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `TT_CTC_REPLY`
[INFO] [stdout]   --> src/ca/tpdu.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub const TT_CTC_REPLY: u8                      = 0x83;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `TT_DELETE_TC`
[INFO] [stdout]   --> src/ca/tpdu.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub const TT_DELETE_TC: u8                      = 0x84;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `TT_DTC_REPLY`
[INFO] [stdout]   --> src/ca/tpdu.rs:50:5
[INFO] [stdout]    |
[INFO] [stdout] 50 |     pub const TT_DTC_REPLY: u8                      = 0x85;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `TT_REQUEST_TC`
[INFO] [stdout]   --> src/ca/tpdu.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub const TT_REQUEST_TC: u8                     = 0x86;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `TT_NEW_TC`
[INFO] [stdout]   --> src/ca/tpdu.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub const TT_NEW_TC: u8                         = 0x87;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `TT_TC_ERROR`
[INFO] [stdout]   --> src/ca/tpdu.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub const TT_TC_ERROR: u8                       = 0x88;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `TT_DATA_LAST`
[INFO] [stdout]   --> src/ca/tpdu.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 54 |     pub const TT_DATA_LAST: u8                      = 0xA0;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `TT_DATA_MORE`
[INFO] [stdout]   --> src/ca/tpdu.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub const TT_DATA_MORE: u8                      = 0xA1;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `send`
[INFO] [stdout]    --> src/ca/tpdu.rs:102:8
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub fn send(ca: &CaDevice, slot_id: u8, tag: u8, data: &[u8]) -> Result<()> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `init`
[INFO] [stdout]    --> src/ca/tpdu.rs:134:8
[INFO] [stdout]     |
[INFO] [stdout] 134 | pub fn init(ca: &CaDevice, slot_id: u8) -> Result<()> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `SPDU_HEADER_SIZE`
[INFO] [stdout]   --> src/ca/spdu.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub const SPDU_HEADER_SIZE: usize = 4;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `ST_SESSION_NUMBER`
[INFO] [stdout]   --> src/ca/spdu.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub const ST_SESSION_NUMBER: u8                 = 0x90;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `ST_OPEN_SESSION_REQUEST`
[INFO] [stdout]   --> src/ca/spdu.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub const ST_OPEN_SESSION_REQUEST: u8           = 0x91;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `ST_OPEN_SESSION_RESPONSE`
[INFO] [stdout]   --> src/ca/spdu.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 38 |     pub const ST_OPEN_SESSION_RESPONSE: u8          = 0x92;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `ST_CREATE_SESSION`
[INFO] [stdout]   --> src/ca/spdu.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub const ST_CREATE_SESSION: u8                 = 0x93;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `ST_CREATE_SESSION_RESPONSE`
[INFO] [stdout]   --> src/ca/spdu.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub const ST_CREATE_SESSION_RESPONSE: u8        = 0x94;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `ST_CLOSE_SESSION_REQUEST`
[INFO] [stdout]   --> src/ca/spdu.rs:41:5
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub const ST_CLOSE_SESSION_REQUEST: u8          = 0x95;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `ST_CLOSE_SESSION_RESPONSE`
[INFO] [stdout]   --> src/ca/spdu.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 |     pub const ST_CLOSE_SESSION_RESPONSE: u8         = 0x96;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `SS_OK`
[INFO] [stdout]   --> src/ca/spdu.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub const SS_OK: u8                             = 0x00;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `SS_NOT_ALLOCATED`
[INFO] [stdout]   --> src/ca/spdu.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub const SS_NOT_ALLOCATED: u8                  = 0xF0;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `assert_size`
[INFO] [stdout]   --> src/ca/spdu.rs:53:4
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn assert_size(spdu: &[u8], size: usize) -> Result<()> {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `handle_session_number`
[INFO] [stdout]   --> src/ca/spdu.rs:62:4
[INFO] [stdout]    |
[INFO] [stdout] 62 | fn handle_session_number(ca: &mut CaDevice, _slot_id: u8, spdu: &[u8]) -> Result<()> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `handle_open_session_request`
[INFO] [stdout]   --> src/ca/spdu.rs:68:4
[INFO] [stdout]    |
[INFO] [stdout] 68 | fn handle_open_session_request(ca: &mut CaDevice, slot_id: u8, spdu: &[u8]) -> Result<()> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `handle_close_session_request`
[INFO] [stdout]   --> src/ca/spdu.rs:90:4
[INFO] [stdout]    |
[INFO] [stdout] 90 | fn handle_close_session_request(ca: &mut CaDevice, slot_id: u8, spdu: &[u8]) -> Result<()> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `handle_create_session_response`
[INFO] [stdout]    --> src/ca/spdu.rs:108:4
[INFO] [stdout]     |
[INFO] [stdout] 108 | fn handle_create_session_response(ca: &mut CaDevice, _slot_id: u8, spdu: &[u8]) -> Result<()> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `handle_close_session_response`
[INFO] [stdout]    --> src/ca/spdu.rs:122:4
[INFO] [stdout]     |
[INFO] [stdout] 122 | fn handle_close_session_response(ca: &mut CaDevice, _slot_id: u8, spdu: &[u8]) -> Result<()> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `handle`
[INFO] [stdout]    --> src/ca/spdu.rs:132:8
[INFO] [stdout]     |
[INFO] [stdout] 132 | pub fn handle(ca: &mut CaDevice, slot_id: u8, spdu: &[u8]) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `APDU_TAG_SIZE`
[INFO] [stdout]   --> src/ca/apdu.rs:16:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub const APDU_TAG_SIZE: usize = 3;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `init`
[INFO] [stdout]   --> src/ca/apdu.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn init(ca: &mut CaDevice, resource_id: u32) -> Result<u16> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `open`
[INFO] [stdout]   --> src/ca/apdu.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn open(ca: &mut CaDevice, session_id: u16) -> Result<()> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `close`
[INFO] [stdout]   --> src/ca/apdu.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn close(ca: &mut CaDevice, session_id: u16) -> Result<()> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `handle`
[INFO] [stdout]   --> src/ca/apdu.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn handle(ca: &mut CaDevice, session_id: u16, msg: &[u8]) -> Result<()> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `manage`
[INFO] [stdout]   --> src/ca/apdu.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn manage(ca: &mut CaDevice, session_id: u16) -> Result<()> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `poll_timer`
[INFO] [stdout]    --> src/ca/mod.rs:146:8
[INFO] [stdout]     |
[INFO] [stdout] 146 |     fn poll_timer(&mut self) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `poll_event`
[INFO] [stdout]    --> src/ca/mod.rs:176:8
[INFO] [stdout]     |
[INFO] [stdout] 176 |     fn poll_event(&mut self) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 52 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 9.18s
[INFO] running `Command { std: "docker" "inspect" "8ee962d667fa81d6e8010b9bb0cf4580bb76196b792403da90797df6f08a1384", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8ee962d667fa81d6e8010b9bb0cf4580bb76196b792403da90797df6f08a1384", kill_on_drop: false }`
[INFO] [stdout] 8ee962d667fa81d6e8010b9bb0cf4580bb76196b792403da90797df6f08a1384
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5c13f64216ac336b6d8c6a43f9bc3a098bbf0045f3bec3b018b0ef764adc668a
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "5c13f64216ac336b6d8c6a43f9bc3a098bbf0045f3bec3b018b0ef764adc668a", kill_on_drop: false }`
[INFO] [stdout] warning: unused variable: `ca`
[INFO] [stdout]   --> src/ca/apdu.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn init(ca: &mut CaDevice, resource_id: u32) -> Result<u16> {
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_ca`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `resource_id`
[INFO] [stdout]   --> src/ca/apdu.rs:20:32
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn init(ca: &mut CaDevice, resource_id: u32) -> Result<u16> {
[INFO] [stdout]    |                                ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resource_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ca`
[INFO] [stdout]   --> src/ca/apdu.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn open(ca: &mut CaDevice, session_id: u16) -> Result<()> {
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_ca`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `session_id`
[INFO] [stdout]   --> src/ca/apdu.rs:26:32
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn open(ca: &mut CaDevice, session_id: u16) -> Result<()> {
[INFO] [stdout]    |                                ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ca`
[INFO] [stdout]   --> src/ca/apdu.rs:32:14
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn close(ca: &mut CaDevice, session_id: u16) -> Result<()> {
[INFO] [stdout]    |              ^^ help: if this is intentional, prefix it with an underscore: `_ca`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `session_id`
[INFO] [stdout]   --> src/ca/apdu.rs:32:33
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn close(ca: &mut CaDevice, session_id: u16) -> Result<()> {
[INFO] [stdout]    |                                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ca`
[INFO] [stdout]   --> src/ca/apdu.rs:38:15
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn handle(ca: &mut CaDevice, session_id: u16, msg: &[u8]) -> Result<()> {
[INFO] [stdout]    |               ^^ help: if this is intentional, prefix it with an underscore: `_ca`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `session_id`
[INFO] [stdout]   --> src/ca/apdu.rs:38:34
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn handle(ca: &mut CaDevice, session_id: u16, msg: &[u8]) -> Result<()> {
[INFO] [stdout]    |                                  ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]   --> src/ca/apdu.rs:38:51
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn handle(ca: &mut CaDevice, session_id: u16, msg: &[u8]) -> Result<()> {
[INFO] [stdout]    |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ca`
[INFO] [stdout]   --> src/ca/apdu.rs:44:15
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn manage(ca: &mut CaDevice, session_id: u16) -> Result<()> {
[INFO] [stdout]    |               ^^ help: if this is intentional, prefix it with an underscore: `_ca`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `session_id`
[INFO] [stdout]   --> src/ca/apdu.rs:44:34
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn manage(ca: &mut CaDevice, session_id: u16) -> Result<()> {
[INFO] [stdout]    |                                  ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `SIZE_INDICATOR`
[INFO] [stdout]  --> src/ca/asn1.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | const SIZE_INDICATOR: u8 = 0x80;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `encode`
[INFO] [stdout]  --> src/ca/asn1.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn encode(value: u16, out: &mut Vec<u8>) {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `TPDU_SIZE_MAX`
[INFO] [stdout]   --> src/ca/tpdu.rs:40:1
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub const TPDU_SIZE_MAX: usize = 2048;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `TT_SB`
[INFO] [stdout]   --> src/ca/tpdu.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 45 |     pub const TT_SB: u8                             = 0x80;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `TT_RCV`
[INFO] [stdout]   --> src/ca/tpdu.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub const TT_RCV: u8                            = 0x81;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `TT_CREATE_TC`
[INFO] [stdout]   --> src/ca/tpdu.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 47 |     pub const TT_CREATE_TC: u8                      = 0x82;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `TT_CTC_REPLY`
[INFO] [stdout]   --> src/ca/tpdu.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub const TT_CTC_REPLY: u8                      = 0x83;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `TT_DELETE_TC`
[INFO] [stdout]   --> src/ca/tpdu.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub const TT_DELETE_TC: u8                      = 0x84;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `TT_DTC_REPLY`
[INFO] [stdout]   --> src/ca/tpdu.rs:50:5
[INFO] [stdout]    |
[INFO] [stdout] 50 |     pub const TT_DTC_REPLY: u8                      = 0x85;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `TT_REQUEST_TC`
[INFO] [stdout]   --> src/ca/tpdu.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub const TT_REQUEST_TC: u8                     = 0x86;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `TT_NEW_TC`
[INFO] [stdout]   --> src/ca/tpdu.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub const TT_NEW_TC: u8                         = 0x87;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `TT_TC_ERROR`
[INFO] [stdout]   --> src/ca/tpdu.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub const TT_TC_ERROR: u8                       = 0x88;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `TT_DATA_LAST`
[INFO] [stdout]   --> src/ca/tpdu.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 54 |     pub const TT_DATA_LAST: u8                      = 0xA0;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `TT_DATA_MORE`
[INFO] [stdout]   --> src/ca/tpdu.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub const TT_DATA_MORE: u8                      = 0xA1;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `send`
[INFO] [stdout]    --> src/ca/tpdu.rs:102:8
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub fn send(ca: &CaDevice, slot_id: u8, tag: u8, data: &[u8]) -> Result<()> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `init`
[INFO] [stdout]    --> src/ca/tpdu.rs:134:8
[INFO] [stdout]     |
[INFO] [stdout] 134 | pub fn init(ca: &CaDevice, slot_id: u8) -> Result<()> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `SPDU_HEADER_SIZE`
[INFO] [stdout]   --> src/ca/spdu.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub const SPDU_HEADER_SIZE: usize = 4;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `ST_SESSION_NUMBER`
[INFO] [stdout]   --> src/ca/spdu.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub const ST_SESSION_NUMBER: u8                 = 0x90;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `ST_OPEN_SESSION_REQUEST`
[INFO] [stdout]   --> src/ca/spdu.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub const ST_OPEN_SESSION_REQUEST: u8           = 0x91;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `ST_OPEN_SESSION_RESPONSE`
[INFO] [stdout]   --> src/ca/spdu.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 38 |     pub const ST_OPEN_SESSION_RESPONSE: u8          = 0x92;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `ST_CREATE_SESSION`
[INFO] [stdout]   --> src/ca/spdu.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub const ST_CREATE_SESSION: u8                 = 0x93;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `ST_CREATE_SESSION_RESPONSE`
[INFO] [stdout]   --> src/ca/spdu.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub const ST_CREATE_SESSION_RESPONSE: u8        = 0x94;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `ST_CLOSE_SESSION_REQUEST`
[INFO] [stdout]   --> src/ca/spdu.rs:41:5
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub const ST_CLOSE_SESSION_REQUEST: u8          = 0x95;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling libdvb v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: constant is never used: `ST_CLOSE_SESSION_RESPONSE`
[INFO] [stdout]   --> src/ca/spdu.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 |     pub const ST_CLOSE_SESSION_RESPONSE: u8         = 0x96;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `SS_OK`
[INFO] [stdout]   --> src/ca/spdu.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub const SS_OK: u8                             = 0x00;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `SS_NOT_ALLOCATED`
[INFO] [stdout]   --> src/ca/spdu.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub const SS_NOT_ALLOCATED: u8                  = 0xF0;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `assert_size`
[INFO] [stdout]   --> src/ca/spdu.rs:53:4
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn assert_size(spdu: &[u8], size: usize) -> Result<()> {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `handle_session_number`
[INFO] [stdout]   --> src/ca/spdu.rs:62:4
[INFO] [stdout]    |
[INFO] [stdout] 62 | fn handle_session_number(ca: &mut CaDevice, _slot_id: u8, spdu: &[u8]) -> Result<()> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `handle_open_session_request`
[INFO] [stdout]   --> src/ca/spdu.rs:68:4
[INFO] [stdout]    |
[INFO] [stdout] 68 | fn handle_open_session_request(ca: &mut CaDevice, slot_id: u8, spdu: &[u8]) -> Result<()> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `handle_close_session_request`
[INFO] [stdout]   --> src/ca/spdu.rs:90:4
[INFO] [stdout]    |
[INFO] [stdout] 90 | fn handle_close_session_request(ca: &mut CaDevice, slot_id: u8, spdu: &[u8]) -> Result<()> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `handle_create_session_response`
[INFO] [stdout]    --> src/ca/spdu.rs:108:4
[INFO] [stdout]     |
[INFO] [stdout] 108 | fn handle_create_session_response(ca: &mut CaDevice, _slot_id: u8, spdu: &[u8]) -> Result<()> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `handle_close_session_response`
[INFO] [stdout]    --> src/ca/spdu.rs:122:4
[INFO] [stdout]     |
[INFO] [stdout] 122 | fn handle_close_session_response(ca: &mut CaDevice, _slot_id: u8, spdu: &[u8]) -> Result<()> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `handle`
[INFO] [stdout]    --> src/ca/spdu.rs:132:8
[INFO] [stdout]     |
[INFO] [stdout] 132 | pub fn handle(ca: &mut CaDevice, slot_id: u8, spdu: &[u8]) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `APDU_TAG_SIZE`
[INFO] [stdout]   --> src/ca/apdu.rs:16:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub const APDU_TAG_SIZE: usize = 3;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `init`
[INFO] [stdout]   --> src/ca/apdu.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn init(ca: &mut CaDevice, resource_id: u32) -> Result<u16> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `open`
[INFO] [stdout]   --> src/ca/apdu.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn open(ca: &mut CaDevice, session_id: u16) -> Result<()> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `close`
[INFO] [stdout]   --> src/ca/apdu.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn close(ca: &mut CaDevice, session_id: u16) -> Result<()> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `handle`
[INFO] [stdout]   --> src/ca/apdu.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn handle(ca: &mut CaDevice, session_id: u16, msg: &[u8]) -> Result<()> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `manage`
[INFO] [stdout]   --> src/ca/apdu.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn manage(ca: &mut CaDevice, session_id: u16) -> Result<()> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `poll_timer`
[INFO] [stdout]    --> src/ca/mod.rs:146:8
[INFO] [stdout]     |
[INFO] [stdout] 146 |     fn poll_timer(&mut self) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `poll_event`
[INFO] [stdout]    --> src/ca/mod.rs:176:8
[INFO] [stdout]     |
[INFO] [stdout] 176 |     fn poll_event(&mut self) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 52 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CaDevice`
[INFO] [stdout]   --> examples/cainfo.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |         CaDevice,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `adapter`
[INFO] [stdout]   --> examples/cainfo.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn start_ca(adapter: u32, device: u32) -> Result<()> {
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_adapter`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `device`
[INFO] [stdout]   --> examples/cainfo.rs:39:27
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn start_ca(adapter: u32, device: u32) -> Result<()> {
[INFO] [stdout]    |                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ca`
[INFO] [stdout]   --> src/ca/apdu.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn init(ca: &mut CaDevice, resource_id: u32) -> Result<u16> {
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_ca`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `resource_id`
[INFO] [stdout]   --> src/ca/apdu.rs:20:32
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn init(ca: &mut CaDevice, resource_id: u32) -> Result<u16> {
[INFO] [stdout]    |                                ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resource_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ca`
[INFO] [stdout]   --> src/ca/apdu.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn open(ca: &mut CaDevice, session_id: u16) -> Result<()> {
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_ca`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `session_id`
[INFO] [stdout]   --> src/ca/apdu.rs:26:32
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn open(ca: &mut CaDevice, session_id: u16) -> Result<()> {
[INFO] [stdout]    |                                ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ca`
[INFO] [stdout]   --> src/ca/apdu.rs:32:14
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn close(ca: &mut CaDevice, session_id: u16) -> Result<()> {
[INFO] [stdout]    |              ^^ help: if this is intentional, prefix it with an underscore: `_ca`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `session_id`
[INFO] [stdout]   --> src/ca/apdu.rs:32:33
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn close(ca: &mut CaDevice, session_id: u16) -> Result<()> {
[INFO] [stdout]    |                                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ca`
[INFO] [stdout]   --> src/ca/apdu.rs:38:15
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn handle(ca: &mut CaDevice, session_id: u16, msg: &[u8]) -> Result<()> {
[INFO] [stdout]    |               ^^ help: if this is intentional, prefix it with an underscore: `_ca`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `session_id`
[INFO] [stdout]   --> src/ca/apdu.rs:38:34
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn handle(ca: &mut CaDevice, session_id: u16, msg: &[u8]) -> Result<()> {
[INFO] [stdout]    |                                  ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]   --> src/ca/apdu.rs:38:51
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn handle(ca: &mut CaDevice, session_id: u16, msg: &[u8]) -> Result<()> {
[INFO] [stdout]    |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ca`
[INFO] [stdout]   --> src/ca/apdu.rs:44:15
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn manage(ca: &mut CaDevice, session_id: u16) -> Result<()> {
[INFO] [stdout]    |               ^^ help: if this is intentional, prefix it with an underscore: `_ca`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `session_id`
[INFO] [stdout]   --> src/ca/apdu.rs:44:34
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn manage(ca: &mut CaDevice, session_id: u16) -> Result<()> {
[INFO] [stdout]    |                                  ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `SIZE_INDICATOR`
[INFO] [stdout]  --> src/ca/asn1.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | const SIZE_INDICATOR: u8 = 0x80;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `encode`
[INFO] [stdout]  --> src/ca/asn1.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn encode(value: u16, out: &mut Vec<u8>) {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `TPDU_SIZE_MAX`
[INFO] [stdout]   --> src/ca/tpdu.rs:40:1
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub const TPDU_SIZE_MAX: usize = 2048;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `TT_SB`
[INFO] [stdout]   --> src/ca/tpdu.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 45 |     pub const TT_SB: u8                             = 0x80;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `TT_RCV`
[INFO] [stdout]   --> src/ca/tpdu.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub const TT_RCV: u8                            = 0x81;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `TT_CREATE_TC`
[INFO] [stdout]   --> src/ca/tpdu.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 47 |     pub const TT_CREATE_TC: u8                      = 0x82;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `TT_CTC_REPLY`
[INFO] [stdout]   --> src/ca/tpdu.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub const TT_CTC_REPLY: u8                      = 0x83;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `TT_DELETE_TC`
[INFO] [stdout]   --> src/ca/tpdu.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub const TT_DELETE_TC: u8                      = 0x84;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `TT_DTC_REPLY`
[INFO] [stdout]   --> src/ca/tpdu.rs:50:5
[INFO] [stdout]    |
[INFO] [stdout] 50 |     pub const TT_DTC_REPLY: u8                      = 0x85;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `TT_REQUEST_TC`
[INFO] [stdout]   --> src/ca/tpdu.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub const TT_REQUEST_TC: u8                     = 0x86;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `TT_NEW_TC`
[INFO] [stdout]   --> src/ca/tpdu.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub const TT_NEW_TC: u8                         = 0x87;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `TT_TC_ERROR`
[INFO] [stdout]   --> src/ca/tpdu.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub const TT_TC_ERROR: u8                       = 0x88;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `TT_DATA_LAST`
[INFO] [stdout]   --> src/ca/tpdu.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 54 |     pub const TT_DATA_LAST: u8                      = 0xA0;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `TT_DATA_MORE`
[INFO] [stdout]   --> src/ca/tpdu.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub const TT_DATA_MORE: u8                      = 0xA1;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `send`
[INFO] [stdout]    --> src/ca/tpdu.rs:102:8
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub fn send(ca: &CaDevice, slot_id: u8, tag: u8, data: &[u8]) -> Result<()> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `init`
[INFO] [stdout]    --> src/ca/tpdu.rs:134:8
[INFO] [stdout]     |
[INFO] [stdout] 134 | pub fn init(ca: &CaDevice, slot_id: u8) -> Result<()> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `SPDU_HEADER_SIZE`
[INFO] [stdout]   --> src/ca/spdu.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub const SPDU_HEADER_SIZE: usize = 4;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `ST_SESSION_NUMBER`
[INFO] [stdout]   --> src/ca/spdu.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub const ST_SESSION_NUMBER: u8                 = 0x90;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `ST_OPEN_SESSION_REQUEST`
[INFO] [stdout]   --> src/ca/spdu.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub const ST_OPEN_SESSION_REQUEST: u8           = 0x91;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `ST_OPEN_SESSION_RESPONSE`
[INFO] [stdout]   --> src/ca/spdu.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 38 |     pub const ST_OPEN_SESSION_RESPONSE: u8          = 0x92;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `ST_CREATE_SESSION`
[INFO] [stdout]   --> src/ca/spdu.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub const ST_CREATE_SESSION: u8                 = 0x93;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `ST_CREATE_SESSION_RESPONSE`
[INFO] [stdout]   --> src/ca/spdu.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub const ST_CREATE_SESSION_RESPONSE: u8        = 0x94;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `ST_CLOSE_SESSION_REQUEST`
[INFO] [stdout]   --> src/ca/spdu.rs:41:5
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub const ST_CLOSE_SESSION_REQUEST: u8          = 0x95;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `ST_CLOSE_SESSION_RESPONSE`
[INFO] [stdout]   --> src/ca/spdu.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 |     pub const ST_CLOSE_SESSION_RESPONSE: u8         = 0x96;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `SS_OK`
[INFO] [stdout]   --> src/ca/spdu.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub const SS_OK: u8                             = 0x00;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `SS_NOT_ALLOCATED`
[INFO] [stdout]   --> src/ca/spdu.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub const SS_NOT_ALLOCATED: u8                  = 0xF0;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `assert_size`
[INFO] [stdout]   --> src/ca/spdu.rs:53:4
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn assert_size(spdu: &[u8], size: usize) -> Result<()> {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `handle_session_number`
[INFO] [stdout]   --> src/ca/spdu.rs:62:4
[INFO] [stdout]    |
[INFO] [stdout] 62 | fn handle_session_number(ca: &mut CaDevice, _slot_id: u8, spdu: &[u8]) -> Result<()> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `handle_open_session_request`
[INFO] [stdout]   --> src/ca/spdu.rs:68:4
[INFO] [stdout]    |
[INFO] [stdout] 68 | fn handle_open_session_request(ca: &mut CaDevice, slot_id: u8, spdu: &[u8]) -> Result<()> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `handle_close_session_request`
[INFO] [stdout]   --> src/ca/spdu.rs:90:4
[INFO] [stdout]    |
[INFO] [stdout] 90 | fn handle_close_session_request(ca: &mut CaDevice, slot_id: u8, spdu: &[u8]) -> Result<()> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `handle_create_session_response`
[INFO] [stdout]    --> src/ca/spdu.rs:108:4
[INFO] [stdout]     |
[INFO] [stdout] 108 | fn handle_create_session_response(ca: &mut CaDevice, _slot_id: u8, spdu: &[u8]) -> Result<()> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `handle_close_session_response`
[INFO] [stdout]    --> src/ca/spdu.rs:122:4
[INFO] [stdout]     |
[INFO] [stdout] 122 | fn handle_close_session_response(ca: &mut CaDevice, _slot_id: u8, spdu: &[u8]) -> Result<()> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `handle`
[INFO] [stdout]    --> src/ca/spdu.rs:132:8
[INFO] [stdout]     |
[INFO] [stdout] 132 | pub fn handle(ca: &mut CaDevice, slot_id: u8, spdu: &[u8]) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `APDU_TAG_SIZE`
[INFO] [stdout]   --> src/ca/apdu.rs:16:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub const APDU_TAG_SIZE: usize = 3;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `init`
[INFO] [stdout]   --> src/ca/apdu.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn init(ca: &mut CaDevice, resource_id: u32) -> Result<u16> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `open`
[INFO] [stdout]   --> src/ca/apdu.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn open(ca: &mut CaDevice, session_id: u16) -> Result<()> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `close`
[INFO] [stdout]   --> src/ca/apdu.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn close(ca: &mut CaDevice, session_id: u16) -> Result<()> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `handle`
[INFO] [stdout]   --> src/ca/apdu.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn handle(ca: &mut CaDevice, session_id: u16, msg: &[u8]) -> Result<()> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `manage`
[INFO] [stdout]   --> src/ca/apdu.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn manage(ca: &mut CaDevice, session_id: u16) -> Result<()> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `poll_timer`
[INFO] [stdout]    --> src/ca/mod.rs:146:8
[INFO] [stdout]     |
[INFO] [stdout] 146 |     fn poll_timer(&mut self) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `poll_event`
[INFO] [stdout]    --> src/ca/mod.rs:176:8
[INFO] [stdout]     |
[INFO] [stdout] 176 |     fn poll_event(&mut self) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 52 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.63s
[INFO] running `Command { std: "docker" "inspect" "5c13f64216ac336b6d8c6a43f9bc3a098bbf0045f3bec3b018b0ef764adc668a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5c13f64216ac336b6d8c6a43f9bc3a098bbf0045f3bec3b018b0ef764adc668a", kill_on_drop: false }`
[INFO] [stdout] 5c13f64216ac336b6d8c6a43f9bc3a098bbf0045f3bec3b018b0ef764adc668a
